Action

public final class Action extends AsyncCallbackAction<R>

An action providing a response to the PrintCallback.

Constructors

Link copied to clipboard
public void PrintCallback.Action(Consumer<Print.Response> consumer)

Functions

Link copied to clipboard
public void cancel()
Notifies the browser that the printing should be canceled.
Link copied to clipboard
public final boolean isClosed()
Returns true if this action is closed.
Link copied to clipboard
public void print()
Notifies the browser to proceed with the printing.
Link copied to clipboard
public void showPrintPreview()
Notifies the browser to display the print preview dialog.